import { createApp } from 'vue';

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import App from "@/App.vue";
import {Icon} from "@iconify/vue";

import router from './router';
import store from './store';

import registerGlobalComponent from '@/utils/registerGlobalComponent';

import "normalize.css";
import "./styles/global.scss";
import { zhCn } from 'element-plus/es/locales.mjs';

const app = createApp(App);

registerGlobalComponent(app);
app.use(store)
app.use(router)
app.use(ElementPlus,{
    locale: zhCn
})
app.mount('#app')

window.$vue = app;
